<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .content {
        display: flex;
        width: 100%;
        height: 100px;
        border: 1px solid #ccc;
    }
    .content > div:nth-child(1) {
        width: 30%;
        color: aqua;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    img {
        max-width: 32px;
    }
    .content > div:nth-child(2) {
        width: 40%;
        border-right: 1px solid #ccc;
        border-left: 1px solid #ccc;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .text {
        margin-top: 8px;
        width: 100%;
        overflow:hidden;
        text-overflow:ellipsis;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
    }
    .content > div:nth-child(3) {
        width: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
</style>
<body>
    <!-- 
        4、完成下列布局:
            左侧为icon，图片任意，图片最长边尺寸为32px，垂直居中;
            2.右侧为箭头图片，垂直居中;
            3.title和content间距8px，整体垂直居中;
            4.content文案过长时换行展示，最多显示2行，超过部分显示"....";

            ![avatar]
            ( https://gw.alipayobjects.com/mdn/rms_bad299/afts/img/A*BTfkSbw7ELcAAAAAAAAAAAAAARQnAQ)
 -->

    <div class="content">
        <div>
            <img src="../../img/1.jpg" />
        </div>
        <div> 
            <div> 标题 </div>
            <div class="text" > 这篇文章主要介绍了CSS文本超出2行就隐藏并且显示省略号的相关知识，非常不错，具有一定的参考借鉴价值，需要的朋友参考下吧 </div>
        </div>
        <div> > </div>
    </div>
</body>
</html>